package com.htudata.live.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class DataType implements Serializable {
  private static final long serialVersionUID = 9156952971569628918L;
  
  private int dataTypeId;
  
  private String typeZH;
  
  private String typeEN;
  
  private String descpt;
  
  private LocalDateTime createTime;
  
  private LocalDateTime updateTime;

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof DataType))
      return false; 
    DataType other = (DataType)o;
    if (!other.canEqual(this))
      return false; 
    if (getDataTypeId() != other.getDataTypeId())
      return false; 
    Object this$typeZH = getTypeZH(), other$typeZH = other.getTypeZH();
    if ((this$typeZH == null) ? (other$typeZH != null) : !this$typeZH.equals(other$typeZH))
      return false; 
    Object this$typeEN = getTypeEN(), other$typeEN = other.getTypeEN();
    if ((this$typeEN == null) ? (other$typeEN != null) : !this$typeEN.equals(other$typeEN))
      return false; 
    Object this$descpt = getDescpt(), other$descpt = other.getDescpt();
    if ((this$descpt == null) ? (other$descpt != null) : !this$descpt.equals(other$descpt))
      return false; 
    Object this$createTime = getCreateTime(), other$createTime = other.getCreateTime();
    if ((this$createTime == null) ? (other$createTime != null) : !this$createTime.equals(other$createTime))
      return false; 
    Object this$updateTime = getUpdateTime(), other$updateTime = other.getUpdateTime();
    return !((this$updateTime == null) ? (other$updateTime != null) : !this$updateTime.equals(other$updateTime));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof DataType;
  }


}
